package com.briup.day10.bean;

public class Employee {
    private String id;
    private String name;

    public Employee() {
    }
    public Employee(String id, String name) {
        this.id = id;
        this.name = name;
    }
    public void doWork() {
        System.out.println("员工开始工作");
    }
    @Override
    public String toString(){
        return "Employee[id="+id+",name="+name+"]";
    }
}
